<?php
require_once './header.php';
require_once './admin_func.php';
$admin = new admin();
?>
<style>
.daohui_info{
	padding:10px 30px;
}
</style>
	<div id="page-wrapper">
		<div id="main-wrapper">
			<div id="main-content">
				<div class="other-box yellow-box ui-corner-all">
					<div class="cont tooltip ui-corner-all">
						<h3>欢迎使用到会网--课程签到系统后台管理!</h3>
						<div class="daohui_info">
						<h1>共有 &nbsp;<?php $admin->count('teacher');?>&nbsp; 条教师信息。</h1>
						<h1>共有 &nbsp;<?php $admin->count('student');?>&nbsp; 条学生信息。</h1>
						<h1>共有 &nbsp;<?php $admin->count('card');?>&nbsp; 条身份证信息。</h1>
						</div>
						<div class="daohui_info">
							<h1>共有课程信息：<?php $admin->count('course');?>&nbsp;条</h1>
							<h2>其中
							0个
							0个
							113个
							</h2>
						</div>
					</div>
				</div>
				<div class="page-title ui-widget-content ui-corner-all">
					<h1>概览: <b>控制面板</b></h1>
					<div class="other">
						<div class="float-left">这是课程签到系统后台管理</div>
						<div class="button float-right">
							<a href="./index.php#" class="btn ui-state-default"><span class="ui-icon ui-icon-circle-plus"></span>Example</a>
						</div>
						<div class="clearfix"></div>
					</div>
				</div>
			</div>
		</div>
	</div>
<?php
	require_once './footer.php';
?>
